<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    用户名：<input type="text" name="username" id="username" required/><br>
    密码: <input type="password" name="password" id="password" required><br>
    请选择性别：<input type="radio" name="gender" id="male" value="male">
    <label for="male">男</label><br>
    <input type="radio" name="gender" id="female" value="female">
    <label for="female">女</label><br>
    <input type="checkbox" name="subscribe" id="subscribe" value="yes">
    <label for="subscribe">订阅消息</label>
    <button>提交</button>
</body>
</html>